@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
    background: rgba(17, 17, 17, 1); /* Dark background */
}

.sobre {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background: rgba(17, 17, 17, 0.200);
  right: 0;
  width: 100%;
  min-height: 100vh;
  padding: 100px;
  transition: 0.5s;
  z-index: 0;
}

.sobre.active {
  right: 300px;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 40px 100px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
}

.toggle {
  position: fixed;
  top: 30px;
  right: 100px;
  width: 60px;
  height: 60px;
  background: url(https://i.ibb.co/HrfVRcx/menu.png);
  background-repeat: no-repeat;
  background-size: 30px;
  background-position: center;
  cursor: pointer;
  z-index: 4;
  transition: .5s;
}

.toggle.active {
  position: fixed;
  top: 30px;
  right: 350px;
  background: url(https://i.ibb.co/rt3HybH/close.png);
  background-repeat: no-repeat;
  background-size: 25px;
  background-position: center;
  cursor: pointer;
  z-index: 4;
  transition: .5s;
}

.showcase {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  right: 0;
  width: 100%;
  height: 100vh;
  padding: 100px;
  background: rgba(17, 17, 17, 0.2);
  transition: 0.5s;
  z-index: 1;
}

.showcase.active {
  right: 300px;
}

.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 1s ease;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #03a9f4;
  mix-blend-mode: overlay;
}

.text {
  position: relative;
  z-index: 10;
}

.text h2 {
  font-size: 5em;
  font-weight: 800;
  color: #fff;
  line-height: 1em;
  text-transform: uppercase;
}

.text h3 {
  font-size: 4em;
  font-weight: 700;
  color: #fff;
  line-height: 1em;
  text-transform: uppercase;
}

.text h4 {
  font-size: 3em;
  font-weight: 600;
  color: #fff;
  line-height: 1em;
  text-transform: uppercase;
}

.text p {
  font-size: 1.1em;
  color: #fff;
  margin: 20px 0;
  font-weight: 400;
  max-width: 900px;
}

.text a {
  display: inline-block;
  font-size: 1em;
  background: #fff;
  padding: 10px 30px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  margin-top: 10px;
  color: #111;
  letter-spacing: 2px;
  transition: 0.2s;
}

.text a:hover {
  letter-spacing: 6px;
}

.social {
  position: absolute;
  z-index: 10;
  bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social li {
  list-style: none;
}

.social li a {
  display: inline-block;
  margin-right: 20px;
  filter: invert(1);
  transform: scale(0.5);
  transition: 0.5s;
}

.social li a:hover {
  transform: scale(0.5) translateY(-15px);
}

.logo1 {
  position: relative;
  top: -200px;
  right: 0;
  width: 300px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #050505;
  z-index: -1;
  opacity: 0;
  transition: .5s;
}

.menu.active {
  z-index: 3;
  opacity: 1;
}

.menu ul {
  position: relative; 
}

.menu ul li {
  list-style: none;
}

.menu ul li a {
  text-decoration: none;
  font-size: 24px;
  color: rgb(252, 244, 244);
}

.menu ul li a:hover {
  color: #FF32D6; 
}

.container-equipe {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 10px;
}

.item-equipe {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 500px;
  width: 290px;
  border: 3px solid rgba(255, 50, 214, 0.5);
  border-radius: 3%;
  background-color: rgba(5, 5, 5, 0.5);
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.199);
  transition: .5s;
}

.item-equipe:hover {
  background-color: rgba(5, 5, 5, 0.850);
  transform: translateY(-15px);
}

.foto {
  display: flex;
  justify-content: center;
  width: 180px;
  height: 180px;
  margin-top: 20px;
  background-color: white;
  border: 1px solid #FF32D6;
  overflow: hidden;
}

.membro {
  margin: 10px;
  font-size: 1.5em;
}

.apresentacao {
  margin: 0;
  padding: 10px;
  text-align: center;
}

#projetos-e-parcerias {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
  right: 0;
  width: 100%;
  min-height: 100vh;
  padding: 100px;
  background: rgba(17, 17, 17, 0.2);
  transition: 0.5s;
  z-index: 1;
}

#projetos-e-parcerias.active {
  right: 300px;
}

.container-projetos {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 50px;
}

.item-projeto {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  max-width: 500px;
  max-height: 400px;
  background-color: rgba(17, 17, 17, 0.5);
  padding: 10px;
  border-radius: 5%;
}

.vid {
  max-width: 100%;
  height: auto;
  position: relative;
  border-radius: 5%;
}

.texto-sobreposto {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  text-align: center;
  width: 100%;
  height: 100px;
  top: 20%;
  text-shadow: 2px 2px 10px rgb(0, 0, 0);
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
  background-color: rgba(0, 0, 0, 0.411);
}

.texto-sobreposto.active {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: absolute;
  width: 100%;
  height: 100px;
  top: 20%;
  text-shadow: 2px 2px 10px rgb(0, 0, 0);
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
  background-color: rgba(0, 0, 0, 0.411);
}

.texto-sobreposto.oculto {
  opacity: 0;
}

.container-miniatura {
  display: flex;
  overflow: hidden;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  
  height: 25%;
}

.miniatura {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  overflow: hidden;
  border-radius: 5%;
}

.miniatura:hover {
  cursor: pointer;
}

.miniatura-atual {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.img-atual {
  width: 100%;
  height: auto;
  border-radius: 5%;
}

.vid-atual {
  width: 100%;
  height: auto;
  border-radius: 5%;
}

.prev, .next {
  font-size: 3em!important;
  cursor: pointer;
  margin: auto!important;
}

#contato {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  position: relative;
  min-height: 100vh;
  width: 100%;
  padding: 100px;
  background: rgba(17, 17, 17, 0.200);
  transition: 0.5s;
  z-index: 1;
}

#contato.active {
  right: 300px;
}

.social-contato {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  bottom: 20px;
  gap: 100px;
}

.social-contato li {
  list-style: none;
}

.social-contato li a {
  display: inline-block;
  filter: invert(1);
  transform: scale(1);
  transition: 0.5s;
}

.social-contato li a:hover {
  transform: scale(1.25) translateY(-15px);
}

@media screen and (max-width: 1300px) {
  #projetos-e-parcerias {
    padding: 40px;
  }
}

@media screen and (max-width: 900px) {
  .showcase, .showcase header, #equipe, #projetos-e-parcerias, #contato {
    padding: 40px;
  }
  .text h2 {
    font-size: 4em;
  }
  .text h3 {
    font-size: 3em;
  }
  .toggle {
    right: 40px;
  }
  .toggle.active {
    right: 340px;
  }
}

@media screen and (max-width: 600px) {
  .showcase, .showcase header, #equipe, #projetos-e-parcerias, #contato {
    padding: 25px;
  }
  .text h2 {
    font-size: 3em;
  }
  .text h3 {
    font-size: 2em;
  }
  .toggle {
    top: 12px;
    right: 0;
  }
  .toggle.active {
    right: 300px;
  }
  .texto-sobreposto h4 {
    font-size: 2.5em;
  }
  .texto-sobreposto p {
    font-size: 1em;
  }
  .next, .prev {
    font-size: 2.5em!important;
  }
}

@media screen and (max-width: 375px) {
  .showcase, .showcase header, #equipe, #projetos-e-parcerias, #contato {
    padding: 15px;
  }
  .text h2 {
    font-size: 2em;
  }
  .text h3 {
    font-size: 1em;
  }
  .toggle {
    top: 0;
    right: 0;
  }
  .toggle.active {
    top: 0;
    right: 250px;
  }
  
  .texto-sobreposto h4 {
    font-size: 2em;
  }
  .texto-sobreposto p {
    font-size: 0.9em;
  }
  .social-contato {
    gap: 50px;
  }
  .next, .prev {
    font-size: 2em!important;
  }
}

@media screen and (max-width: 320px) {
  .estudio-gato-magenta {
    display: none;
  }
}

.video-carousel {
    position: relative;
    width: 80%;
    margin: auto;
    overflow: hidden;
    border-radius: 3%; /* Rounded borders */
    background-color: rgba(5, 5, 5, 0.5); /* Transparent black background */
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.199);
    transition: .5s;
	  padding: 0 100px; /* Add padding to accommodate the controls */

}

.video-carousel:hover {
    background-color: rgba(5, 5, 5, 0.850); /* Darker on hover */

}

.carousel-item {
    flex: 0 0 33.3333%;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 3%; /* Consistent with the carousel's rounded corners */
}

video {
    width: 100%;
    height: auto;
    border-radius: 3%; /* Rounded corners for videos */
}


        .carousel-slides {
            display: flex;
            width: 300%; /* 100% * number of videos */
            transition: transform 0.5s ease;
        }



        video {
            width: 100%;
            height: auto;
        }

    /* Carousel Controls Design */
.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    width: calc(100% - 60px); /* Extend the width to allow buttons outside the video area */
    margin: 0 30px; /* Offset the extended width */
	
}

.prev-slide, .next-slide {
    cursor: pointer;
    background-color: rgba(255, 50, 214, 0.7); /* Semi-transparent pink background */
    color: #fff; /* White icons */
    border: none;
    border-radius: 50%; /* Circular shape */
    padding: 25px; /* Adjust to ensure a circle shape */
    font-size: 34px; /* Adjust icon size as needed */
    width: 30px; /* Width for circle shape */
    height: 30px; /* Height for circle shape */
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto; /* Allows clicking on the buttons */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition for hover effects */

}

.prev-slide {
    margin-left: 10px; /* Spacing from the left edge */
}

.next-slide {
    margin-right: 10px; /* Spacing from the right edge */
}

.prev-slide:hover, .next-slide:hover {
    background-color: rgba(255, 50, 214, 0.9); /* Darker pink on hover */
    transform: scale(1.1); /* Slightly enlarges the button */
}
       .video-description {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(5, 5, 5, 0.7); /* Semi-transparent black background */
    color: #fff; /* White text */
    font-size: 1.2em; /* Slightly larger font size */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
    max-width: 80%; /* Max width */
    margin: 20px auto; /* Centering */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

.video-description:hover {
    background-color: rgba(5, 5, 5, 0.85); /* Slightly darker on hover */
}
		
		
		/*video fadeout*/
		
		.video-fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.video-fade-in {
    opacity: 1;
    transition: opacity 1s ease-in;
}